package com.billiards.service;

import com.billiards.entity.Ball;
import com.billiards.entity.BallAppt;

import java.util.List;

public interface BallService {
    public List<Ball> getBallList();

    public List<Ball> getBallballname(String ballname);

    public int updateBall(Ball ball);

    public int addBall(Ball ball);
    public int deleteBall(Integer delId);

//查找已预约

    List<Ball> getYesBallState(String state);


    //    查找未预约

    List<Ball> getNoBallState(String state);

}
